package Java多线程技术.问题;

public class MyThreadA extends Thread{

    private MyService myService;

    public MyThreadA( MyService myService) {
        super();
        this.myService = myService;
    }

    @Override
    public void run() {
        myService.test();

    }
}
